inspector: fix warning about not using the right format for an int64
authorIgnacio Casal Quinteiro <icq@gnome.org>
Tue, 24 Mar 2015 12:34:10 +0000 (13:34 +0100)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Tue, 24 Mar 2015 12:36:36 +0000 (13:36 +0100)
gtk/inspector/misc-info.c

index c3496b88a3b578128510c24321a978dabd354041..6138f627e9d54cad0429f481378d104312b91f9d 100644 (file)
@@ -354,7 +354,7 @@ update_info (gpointer data)
       frame = gdk_frame_clock_get_frame_counter (clock);
       frame_time = gdk_frame_clock_get_frame_time (clock);
 
-      tmp = g_strdup_printf ("%ld", frame);
+      tmp = g_strdup_printf ("%"G_GINT64_FORMAT, frame);
       gtk_label_set_label (GTK_LABEL (sl->priv->framecount), tmp);
       g_free (tmp);